﻿using nplJobsCommon.Common;
using nplJobsDAL.Select;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace nplJobsBLL.ProcessJob
{
    public class ProcessJobCategory
    {
        public List<JobCategory> JobCategory { get; set; }
        public int countryID = 0;

        public void invoke()
        {
            SelectJobCategory jobCategory = new SelectJobCategory();
            this.JobCategory = jobCategory.GetJobCategory();
        }

        public void GetCategoryWithJobCount()
        {
            SelectJobCategory jobCategory = new SelectJobCategory();
            this.JobCategory = jobCategory.GetJobCategoryWithJobCount();
        }

        public void GetGovtJobCategoryWithJobCount()
        {
            SelectJobCategory jobCategory = new SelectJobCategory();
            this.JobCategory = jobCategory.GetGovtJobCategoryWithJobCount();
        }

        public void GetNewspaperJobCategoryWithJobCount()
        {
            SelectJobCategory jobCategory = new SelectJobCategory();
            this.JobCategory = jobCategory.GetNewspaperJobCategoryWithJobCount();
        }
    }
}
